package com.boat.framework.common.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

import com.boat.framework.common.util.SpringUtils;

import lombok.extern.slf4j.Slf4j;

/**
 * 默认配置
 * @author 周江
 *
 */
@Slf4j
@Order(0)
@Configuration
public class DefaultAutoConfiguration {
	@Bean
	@ConditionalOnMissingBean(SpringUtils.class)
	public SpringUtils springUtils() {
		return new SpringUtils();
	}
}
